package com.itbaizhan.account.service;

import com.itbaizhan.account.entity.AccountInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itbaizhan.account.entity.PayInfo;
import org.springframework.http.ResponseEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itbaizhan
 * @since 07-14
 */
public interface IAccountInfoService extends IService<AccountInfo> {

    /**
     * 更新账户
     * @param payInfo
     */
    void updateAccount(PayInfo payInfo);

    /**
     * 查询交易记录
     * @param txNo
     * @return
     */
    PayInfo queryPayment(String txNo);

}
